package com.piesat.quake.business.device.mqtt.param;

import java.lang.reflect.Field;

/**
 * 解析参数
 *
 * @author Gersy
 * @date 2023/2/6
 * @since 1.0
 */
public abstract class ParseParam {
    public Field field;
    public Integer type;

    public ParseParam() {
    }

    public ParseParam(Field field, Integer type) {
        this.field = field;
        this.type = type;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public abstract int getLength();
}


